package com.whminwei.edu.api.school.dto.fspn;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author zhangzf
 * @since 2024/7/3
 **/
@Data
@NoArgsConstructor
public class TeacherDetailFspn {
    @JsonValue
    private List<TeacherBo> teacherList;

    @JsonCreator
    public TeacherDetailFspn(List<TeacherBo> teacherList) {
        this.teacherList = teacherList;
    }

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class TeacherBo{
        /**
         * 职工ID
         */
        private String staffId;
        /**
         * 职工号
         */
        private String staffNo;
        /**
         * 职工姓名
         */
        private String staffName;
        /**
         * 身份证件类型
         */
        private String idType;
        /**
         * 身份证件号码
         */
        private String idNumber;
        /**
         * 出生年月
         */
        private String birthDate;
        /**
         * 性别
         */
        private String gender;
        /**
         * 手机号
         */
        private String phone;
        /**
         * 来校年月
         */
        private String employTime;
        /**
         * 聘用类别
         */
        private String employAttr;
        /**
         * 教职工类别
         */
        private String staffAttr;
        /**
         * 教师类型
         */
        private String teacherType;
        /**
         * 所属行政机构
         */
        private List<String> orgIds;
        /**
         * 所属系部
         */
        private String departmentId;
        /**
         * 聘用岗位
         */
        private String employPost;
        /**
         * 当前状态
         */
        private String staffStatus;
        /**
         * 岗位类别
         */
        private List<String> postAttr;
    }
}
